<nz-layout>
    <nz-page-header [nzTitle]="docName" [nzSubtitle]="docName">
        <nz-page-header-extra>
            <nz-switch [(ngModel)]="showMenu" nzCheckedChildren="菜单" nzUnCheckedChildren="菜单"></nz-switch>
        </nz-page-header-extra>
    </nz-page-header>
    <nz-layout>
        <nz-sider id="custom-toc-container" [hidden]="!showMenu"></nz-sider>
        <nz-content id="doc-editormd-view">
            <textarea style="display:none;" name="doc-editormd-markdown-doc">###Hello world!</textarea>
        </nz-content>
    </nz-layout>
</nz-layout>